<template>
  <div id="recomment-component">
    <div class="item" v-for="(item, index) in commend.list" :key="index">
      <a :href="item.link">
        <img :src="item.image" alt="" />
        <span>{{ item.title }}</span>
      </a>
    </div>
  </div>
</template>

<script>
export default {
  name: "Recommend",
  props: {
    commend: {
      type: [Object, Array],
    },
  },
  data() {
    return {}
  },
  methods: {},
}
</script>

<style lang="less" scoped>
#recomment-component {
  display: flex;
  height: 130px;
  margin-top: 13px;
  text-align: center;
  box-sizing: border-box;
  padding-bottom: 25px;
  .item {
    flex: 1;
    img {
      width: 68px;
      height: 68px;
      margin-bottom: 10px;
    }
  }
}
</style>
